using System;
using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Requests
{
	public static class EntityOrderDetailsUpdateExtend
{
		public static OrderDetails ToUpdateEntity(this RequestOrderDetailsDto dto)
		{
			return new OrderDetails
			{
				OdCount = dto.count,
			};
		}
	}
}
